import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ShortUrl } from './entities/short-url.entity';
import { ShortLongMap } from './entities/short-long-map.entity';
import { ShortUrlService } from './short-url.service';
import { ShortUrlController } from './short-url.controller';


@Module({
    imports: [TypeOrmModule.forFeature([ShortLongMap, ShortUrl])],
    providers: [ShortUrlService],
    exports: [ShortUrlService],
    controllers: [ShortUrlController],

})
export class ShortUrlModule {

}
